package com.myx.typhoon.web.bussiness.domian.result;

import java.io.Serializable;

/**  
 * @author myx
 * @createTime 2015年9月18日 上午11:48:08  
 * 
 */
public class RequestResultVo<T> implements Serializable{
	
	private static final long serialVersionUID = -3715658712929536313L;

	private boolean success = true;
	
	private String errorCode;
	
	private String errorMessage;
	
	private T result;

	public boolean isSuccess() {
		return success;
	}

	public void setSuccess(boolean success) {
		this.success = success;
	}

	public String getErrorCode() {
		return errorCode;
	}

	public void setErrorCode(String errorCode) {
		this.errorCode = errorCode;
	}

	public String getErrorMessage() {
		return errorMessage;
	}

	public void setErrorMessage(String errorMessage) {
		this.errorMessage = errorMessage;
	}

	public T getResult() {
		return result;
	}

	public void setResult(T result) {
		this.result = result;
	}
}
